package com.happy.cat.project.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.happy.cat.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;


/**
 * 派单记录对象 user_order_dispatch
 * 
 * @author verne
 * @date 2020-08-13
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName(autoResultMap = true )
@ApiModel(value="派单记录对象", description="派单记录对象数据")
public class UserOrderDispatch implements Serializable {

private static final long serialVersionUID=1L;


    /** id */
    @ApiModelProperty(value = "${comment}")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    @ApiModelProperty(value = "用户ID")
    private Long userId;

    /** 订单编号 */
    @Excel(name = "订单编号")
    @ApiModelProperty(value = "订单编号")
    private String orderCode;

    /** 派单编号 */
    @Excel(name = "派单编号")
    @ApiModelProperty(value = "派单编号")
    private String code;

    /** 派单房间编号 */
    @Excel(name = "派单房间编号")
    @ApiModelProperty(value = "派单房间编号")
    private String chatroomCode;

    /** 归属厅室 */
    @Excel(name = "归属厅室")
    @ApiModelProperty(value = "归属厅室")
    private String chatroomType;

    /** 派单品类 */
    @Excel(name = "派单品类")
    @ApiModelProperty(value = "派单品类")
    private Long teamCategoryItemId;

    /** 
价格 */
    @Excel(name = "价格")
    @ApiModelProperty(value = " 价格")
    private Double price;

    /** 跳单人数 */
    @Excel(name = "跳单人数")
    @ApiModelProperty(value = "跳单人数")
    private Long skipOrders;

    /** 派单时间 */
    @ApiModelProperty(value = "跳单人数")
    private Date createTime;

    /** 派单状态(1未成交，2已成交) */
    @Excel(name = "派单状态(1未成交，2已成交)")
    @ApiModelProperty(value = "派单状态(1未成交，2已成交)")
    private Long status;
}
